<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>智慧手机软件创意大赛 - <?php echo L('member','','member').L('manage_center');?></title>
<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
<meta name="description" content="<?php echo $SEO['description'];?>">
<link href="<?php echo APP_PATH;?>favicon.ico" rel="shortcut icon" />
<link href="<?php echo APP_PATH;?>favicon.ico" rel="Bookmark" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>default/reset.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>default/text.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>default/960.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>default/style.css" />
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.min.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>cookie.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>member_common.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>dialog.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>formvalidatorregex.js" charset="UTF-8"></script>
<script language="JavaScript">
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#username").formValidator({onshow:"<?php echo L('input').L('username');?>",onfocus:"<?php echo L('between_2_to_20');?>"}).inputValidator({min:2,max:20,onerror:"<?php echo L('between_2_to_20');?>"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"<?php echo L('username').L('format_incorrect');?>"});
	$("#password").formValidator({onshow:"<?php echo L('input').L('password');?>",onfocus:"<?php echo L('password').L('between_6_to_20');?>"}).inputValidator({min:6,max:20,onerror:"<?php echo L('password').L('between_6_to_20');?>"});

});
//-->
</script>
<script type="text/javascript"> 
//table color
$(document).ready(function(){
    $(".indexCon tr:even").css("background-color","#f8f8f8");
	$(".midBox2 tr:even").css("background-color","#f8f8f8");
	$(".indexCon3 tr:even").css("background-color","#f8f8f8");
	$("ul.list03 li:even").css("float","right");
});
//slider
function H$(i) {return document.getElementById(i)}
function H$$(c, p) {return p.getElementsByTagName(c)}
var slider = function () {
 function init (o) {
  this.id = o.id;
  this.at = o.auto ? o.auto : 3;
  this.o = 0;
  this.pos();
 }
 init.prototype = {
  pos : function () {
   clearInterval(this.__b);
   this.o = 0;
   var el = H$(this.id), li = H$$('li', el), l = li.length;
   var _t = li[l-1].offsetHeight;
   var cl = li[l-1].cloneNode(true);
   cl.style.opacity = 0; cl.style.filter = 'alpha(opacity=0)';
   el.insertBefore(cl, el.firstChild);
   el.style.top = -_t + 'px';
   this.anim();
  },
  anim : function () {
   var _this = this;
   this.__a = setInterval(function(){_this.animH()}, 20);
  },
  animH : function () {
   var _t = parseInt(H$(this.id).style.top), _this = this;
   if (_t >= -1) {
    clearInterval(this.__a);
    H$(this.id).style.top = 0;
    var list = H$$('li',H$(this.id));
    H$(this.id).removeChild(list[list.length-1]);
    this.__c = setInterval(function(){_this.animO()}, 20);
    //this.auto();
   }else {
    var __t = Math.abs(_t) - Math.ceil(Math.abs(_t)*.07);
    H$(this.id).style.top = -__t + 'px';
   }
  },
  animO : function () {
   this.o += 2;
   if (this.o == 100) {
    clearInterval(this.__c);
    H$$('li',H$(this.id))[0].style.opacity = 1;
    H$$('li',H$(this.id))[0].style.filter = 'alpha(opacity=100)';
    this.auto();
   }else {
    H$$('li',H$(this.id))[0].style.opacity = this.o/100;
    H$$('li',H$(this.id))[0].style.filter = 'alpha(opacity='+this.o+')';
   }
  },
  auto : function () {
   var _this = this;
   this.__b = setInterval(function(){_this.pos()}, this.at*2000);
  }
 }
 return init;
}();
//hide #back-top first
	$("#back-top").hide();
	// fade in #back-top
	$(function () {
		$(window).scroll(function () {
			if ($(this).scrollTop() > 100) {
				$('#back-top').fadeIn();
			} else {
				$('#back-top').fadeOut();
			}
		});
		// scroll body to 0px on click
		$('#back-top a').click(function () {
			$('body,html').animate({
				scrollTop: 0
			}, 800);
			return false;
		});
	});

</script>
</head>
<body>
<div class="container_12 header"> <a href="<?php echo siteurl($siteid);?>" class="logo"><img src="<?php echo IMG_PATH;?>default/logo.png" /></a> 
  <!--menu start--> 
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b8c2d8bf129f1b53dfaec87725bdb5a3&action=category&catid=0&num=0&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'20',));}?>
  <ul class="menu">
    <li><a href="<?php echo siteurl($siteid);?>">首页</a></li>
    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
    <li><a href="<?php echo $r['url'];?>" <?php if($r[catid]==$catid) { ?> class="Current"<?php } ?>><?php echo $r['catname'];?></a></li>
    <?php $n++;}unset($n); ?>
  </ul>
  <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
  <!--menu over--> 
</div>
<!--login start-->
<div class="loginBox">
  <div class="container_12">
    <p><strong>主办单位：</strong><a href="http://www.maskfq.gov.cn/" target="_blank">马鞍山经济技术开发区</a></p>
    <p><strong>承办单位：</strong><a href="http://www.massz.cn/" target="_blank">马鞍山师范高等专科学校</a></p>
    <div class="login"> 
      <script type="text/javascript">document.write('<iframe src="<?php echo APP_PATH;?>index.php?m=member&c=index&a=mini&forward='+encodeURIComponent(location.href)+'&siteid=<?php echo get_siteid();?>" allowTransparency="true"  width="500" height="40" frameborder="0" scrolling="no"></iframe>')</script> 
    </div>
  </div>
</div>
<!--login over-->
<div class="conMidBox">
  <div class="container_12" style="position:relative;">
    <div class="Bread"> <a href="<?php echo siteurl($siteid);?>">首页</a><span>></span><a href="#"><?php echo catpos($catid);?></a><span>用户登录</span> </div>
    <div class="title"></div>
  </div>
</div>

<!--con start-->
<div class="container_12 conBox"> 
  <!--left start-->
  <div class="leftBox">
    <div class="left"> 
      <!--slider start-->
      <div class="top">活动公告</div>
      <div class="slider3Box"> <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=cb2dcce7680cae08a9c237bc123d17db&action=lists&catid=112&num=9&order=id+DESC&return=data\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'112','order'=>'id DESC','limit'=>'9',));}?>
        <ul id="slider3" class="slider3">
          <?php $n=1;if(is_array($data)) foreach($data AS $v) { ?>
          <li>
            <p><a href="<?php echo $v['url'];?>"><?php echo str_cut($v['title'],110);?></a></p>
            <span>[ <?php echo date('Y/m/d',$v[inputtime]);?> ]</span> </li>
          <?php $n++;}unset($n); ?>
        </ul>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> </div>
      <!--slider over-->
      <div class="clear"></div>
      <!--联系我们 start--> 
      <?php $blockid = 'special_'.$specialid.'_1';?>
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"block\" data=\"op=block&tag_md5=09ee817aa1debf0ce7370ae2ce8ad457&pos=$blockid\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">添加碎片</a>";}$block_tag = pc_base::load_app_class('block_tag', 'block');echo $block_tag->pc_tag(array('pos'=>$blockid,));?>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
      <!--联系我们 over--> 
    </div>
    <div class="clear"></div>
  </div>
  <!--left over--> 
  <!--right start-->
  <div class="right">
    <div class="pageCon">
      <div class="loginPageBox">
        <h1>用户登录</h1>
        <div class="box">
        <form method="post" action="" onsubmit="save_username();" id="myform" name="myform">
          <input type="hidden" name="forward" id="forward" value="<?php echo $forward;?>">
          <div class="input">
            <label><?php echo L('username');?>：</label>
            <input type="text" id="username" name="username" size="22" class="loginPageText">
          </div>
          <div class="clear"></div>
          <div class="input">
            <label><?php echo L('password');?>：</label>
            <input type="password" id="password" name="password" size="22" class="loginPageText">
          </div>
          <div class="clear"></div>
          <div class="input">
            <label><?php echo L('checkcode');?>：</label>
            <input type="text" id="code" name="code" size="8" class="loginPageText" style="width:100px;">
            <?php echo form::checkcode('code_img', '4', '14', 84, 24);?> </div>
            <div class="clear"></div>
          <div class="take">
            <input type="checkbox" name="cookietime" value="2592000" id="cookietime" class="">
            <?php echo L('remember');?><?php echo L('username');?> <a href="index.php?m=member&c=index&a=public_forget_password&siteid=<?php echo $siteid;?>" class="blue"><?php echo L('forgetpassword');?></a><br />
            <div class="submit">
              <input type="submit" name="dosubmit" id="dosubmit" value="<?php echo L('login');?>" class="loginPageBtn">
            </div>
          </div>
          <div class="hr">
            <hr />
          </div>
          <div class="reg">还有没帐号？<br />
            <div class="submit">
              <input type="button" name="register" value="<?php echo L('immediately').L('register');?>" onclick="redirect('<?php echo APP_PATH;?>index.php?m=member&c=index&a=register&siteid=<?php echo $siteid;?>')" class="loginPageBtn">
              <div class="clear"></div>
            </div>
          </div>

        </form>
                  </div>
      </div>
    </div>
  </div>
  <!--right over-->
  <div class="clear"></div>
</div>
<!--con over--> 

<script language="JavaScript">
<!--

	$(function(){
		$('#username').focus();
	})

	function save_username() {
		if($('#cookietime').attr('checked')==true) {
			var username = $('#username').val();
			setcookie('username', username, 3);
		} else {
			delcookie('username');
		}
	}
	var username = getcookie('username');
	if(username != '' && username != null) {
		$('#username').val(username);
		$('#cookietime').attr('checked',true);
	}

	function show_login(site) {
		if(site == 'sina') {
			art.dialog({lock:false,title:'<?php echo L('sina_login');?>',id:'protocoliframe', iframe:'index.php?m=member&c=index&a=public_sina_login',width:'500',height:'310',yesText:'<?php echo L('close');?>'}, function(){
			});
		} else if(site == 'snda') {
			art.dialog({lock:false,title:'<?php echo L('snda_login');?>',id:'protocoliframe', iframe:'index.php?m=member&c=index&a=public_snda_login',width:'500',height:'310',yesText:'<?php echo L('close');?>'}, function(){
			});
		} else if(site == 'qq') {
			art.dialog({lock:false,title:'<?php echo L('qq_login');?>',id:'protocoliframe', iframe:'index.php?m=member&c=index&a=public_qq_login',width:'500',height:'310',yesText:'<?php echo L('close');?>'}, function(){
			});
		}
	}
//-->
</script> 
<?php include template('content', 'footer'); ?> 
